package com.tianaceae.educational.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教务阶段课程详情对象 edu_stage_details
 * 
 * @author zhouhonggang
 * @date 2023-03-29
 */
public class EduStageDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 详情标题 */
    @Excel(name = "详情标题")
    private String stageDetailsTitle;

    /** 详情内容 */
    @Excel(name = "详情内容")
    private String stageDetailsContent;

    /** 详情权重 */
    @Excel(name = "详情权重")
    private Long stageDetailsWeight;

    /** 阶段课程外键 */
    private Long eduStageId;

    /** 乐观锁 */
    private Long revision;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStageDetailsTitle(String stageDetailsTitle) 
    {
        this.stageDetailsTitle = stageDetailsTitle;
    }

    public String getStageDetailsTitle() 
    {
        return stageDetailsTitle;
    }
    public void setStageDetailsContent(String stageDetailsContent) 
    {
        this.stageDetailsContent = stageDetailsContent;
    }

    public String getStageDetailsContent() 
    {
        return stageDetailsContent;
    }
    public void setStageDetailsWeight(Long stageDetailsWeight) 
    {
        this.stageDetailsWeight = stageDetailsWeight;
    }

    public Long getStageDetailsWeight() 
    {
        return stageDetailsWeight;
    }
    public void setEduStageId(Long eduStageId) 
    {
        this.eduStageId = eduStageId;
    }

    public Long getEduStageId() 
    {
        return eduStageId;
    }
    public void setRevision(Long revision) 
    {
        this.revision = revision;
    }

    public Long getRevision() 
    {
        return revision;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stageDetailsTitle", getStageDetailsTitle())
            .append("stageDetailsContent", getStageDetailsContent())
            .append("stageDetailsWeight", getStageDetailsWeight())
            .append("eduStageId", getEduStageId())
            .append("revision", getRevision())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
